/*
 * Copyright (C) 2011-present ShenZhen iBOXCHAIN Information Technology Co.,Ltd.
 *
 * All right reserved.
 *
 * This software is the confidential and proprietary
 * information of iBOXCHAIN Company of China.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with iBOXCHAIN inc.
 */
package com.example.wac.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <p>
 * 权限信息表
 * </p>
 *
 * @author Code Generator
 * @date Created in 2022-06-21 14:58:05
 */

@Data
@NoArgsConstructor
@TableName("tbl_auth_info")
@EqualsAndHashCode(callSuper = true)
public class AuthInfo extends Model<AuthInfo> {
    private static final long serialVersionUID = 1L;

    /**
     * 资源id
     */
    @TableId(value = "auth_id", type = IdType.AUTO)
    @TableField(value = "auth_id")
    private Long authId;
    /**
     * 权限码
     */
    @TableField(value = "auth_code")
    private String authCode;
    /**
     * 权限名称
     */
    @TableField(value = "auth_name")
    private String authName;
    /**
     * 父节点id
     */
    @TableField(value = "parent_auth_id")
    private Long parentAuthId;
    /**
     * 是否是菜单:Y-是,N-否
     */
    @TableField(value = "menu_flag")
    private String menuFlag;
    /**
     * 模块
     */
    @TableField(value = "res_model")
    private String resModel;
    /**
     * 模块码
     */
    @TableField(value = "res_code")
    private String resCode;
    /**
     * res_url
     */
    @TableField(value = "res_url")
    private String resUrl;
    /**
     * res名称
     */
    @TableField(value = "res_name")
    private String resName;
    /**
     * http请求方式:POST,PUT,DELETE,GET
     */
    @TableField(value = "http_method")
    private String httpMethod;
    /**
     * 备注
     */
    @TableField(value = "auth_desc")
    private String authDesc;
    /**
     * 顺序
     */
    @TableField(value = "order_no")
    private Integer orderNo;
    /**
     * 状态.1：正常，0:失效
     */
    @TableField(value = "state")
    private Integer state;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

}
